package bluerain.io.activity.ui;

import android.app.Activity;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.TextView;

import bluerain.io.activity.R;

public class OtherActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.other_activity);
    }

    public void close(View source) {
        Intent intent = new Intent(OtherActivity.this, StartActivity.class);
        startActivity(intent);
        finish();//结束当前Activity
    }

    public void start(View source) {
        Intent intent = new Intent(OtherActivity.this, StartActivity.class);
        startActivity(intent);
    }
}
